module.exports = {
    devServer: {
        proxy: {
            '/api': {
                target: 'http://171.220.242.237:3002',
                ws:true,
                changeOrigin:true,//接口跨域
                pathRewrite:{
                    '^/api':''
                }
            }
        }
    }
}